package cn.gjculture.shopping.api.util;

import net.coobird.thumbnailator.Thumbnails;

import java.io.IOException;

public class ImageUtil {

    public static void main(String[] args) throws IOException {
        Thumbnails.of("C:\\Users\\Public\\Pictures\\Sample Pictures\\1.jpg").scale(1f).outputQuality(0.25f).toFile("C:\\Users\\Public\\Pictures\\Sample Pictures\\1-1.jpg");
    }
}
